package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.mybatis.mapper.Fn;
import cn.maihe.framework.starter.mybatis.mapper.PlusEntityWrapper;

public final class PermissionDOCondition {
    private PlusEntityWrapper<PermissionDO> ew;

    public PermissionDOCondition() {
        this.ew = new PlusEntityWrapper(PermissionDO.class);
    }

    public static PermissionDOCondition builder() {
        return new PermissionDOCondition();
    }

    public PlusEntityWrapper<PermissionDO> build() {
        return this.ew;
    }

    public PermissionDOCondition or() {
        this.ew.orNew();
        return this;
    }

    public PermissionDOCondition and() {
        this.ew.andNew();
        return this;
    }

    private boolean isAndOr() {
        return ew.originalSql() == null || "".equals(ew.originalSql()) ? true : ew.originalSql().endsWith("AND ()") || ew.originalSql().endsWith("OR ()");
    }

    public void clear() {
        this.ew = null;
        this.ew = new PlusEntityWrapper(PermissionDO.class);
    }

    public PermissionDOCondition setSqlSelect(String sqlStr) {
        ew.setSqlSelect(sqlStr);
        return this;
    }

    public PermissionDOCondition orderAsc(String column) {
        ew.orderBy(true, column, true);
        return this;
    }

    public PermissionDOCondition orderDesc(String column) {
        ew.orderBy(true, column, false);
        return this;
    }

    public PermissionDOCondition groupBy(String column) {
        ew.groupBy(column);
        return this;
    }

    public <E, R> PermissionDOCondition orderAsc(Fn<E, R> fn) {
        ew.orderAsc(fn);
        return this;
    }

    public <E, R> PermissionDOCondition orderDesc(Fn<E, R> fn) {
        ew.orderDesc(fn);
        return this;
    }

    public <E, R> PermissionDOCondition groupBy(Fn<E, R> fn) {
        ew.groupBy(fn);
        return this;
    }

    public PermissionDOCondition exists(String sqlStr) {
        ew.exists(sqlStr);
        return this;
    }

    public PermissionDOCondition notExists(String sqlStr) {
        ew.notExists(sqlStr);
        return this;
    }

    public PermissionDOCondition having(String sqlStr, Object... params) {
        ew.having(sqlStr, params);
        return this;
    }

    public PermissionDOCondition andIdIsNull() {
        ew.isNull("id");
        return this;
    }

    public PermissionDOCondition orIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("id");
        return this;
    }

    public PermissionDOCondition andIdIsNotNull() {
        ew.isNotNull("id");
        return this;
    }

    public PermissionDOCondition orIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("id");
        return this;
    }

    public PermissionDOCondition andIdEq(Object value) {
        ew.eq("id", value);
        return this;
    }

    public PermissionDOCondition orIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("id", value);
        return this;
    }

    public PermissionDOCondition andIdNe(Object value) {
        ew.ne("id", value);
        return this;
    }

    public PermissionDOCondition orIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("id", value);
        return this;
    }

    public PermissionDOCondition andIdGt(Object value) {
        ew.gt("id", value);
        return this;
    }

    public PermissionDOCondition orIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("id", value);
        return this;
    }

    public PermissionDOCondition andIdGe(Object value) {
        ew.ge("id", value);
        return this;
    }

    public PermissionDOCondition orIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("id", value);
        return this;
    }

    public PermissionDOCondition andIdLt(Object value) {
        ew.lt("id", value);
        return this;
    }

    public PermissionDOCondition orIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("id", value);
        return this;
    }

    public PermissionDOCondition andIdLe(Object value) {
        ew.le("id", value);
        return this;
    }

    public PermissionDOCondition orIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("id", value);
        return this;
    }

    public PermissionDOCondition andIdIn(Object... value) {
        ew.in("id", value);
        return this;
    }

    public PermissionDOCondition orIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("id", value);
        return this;
    }

    public PermissionDOCondition andIdNotIn(Object... value) {
        ew.notIn("id", value);
        return this;
    }

    public PermissionDOCondition orIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("id", value);
        return this;
    }

    public PermissionDOCondition andIdBetween(Object value, Object value1) {
        ew.between("id", value, value1);
        return this;
    }

    public PermissionDOCondition orIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("id", value, value1);
        return this;
    }

    public PermissionDOCondition andIdNotBetween(Object value, Object value1) {
        ew.notBetween("id", value, value1);
        return this;
    }

    public PermissionDOCondition orIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("id", value, value1);
        return this;
    }

    public PermissionDOCondition andIdLike(String value) {
        ew.like("id", value);
        return this;
    }

    public PermissionDOCondition orIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("id", value);
        return this;
    }

    public PermissionDOCondition andIdNotLike(String value) {
        ew.notLike("id", value);
        return this;
    }

    public PermissionDOCondition orIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("id", value);
        return this;
    }

    public PermissionDOCondition andTitleIsNull() {
        ew.isNull("title");
        return this;
    }

    public PermissionDOCondition orTitleIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("title");
        return this;
    }

    public PermissionDOCondition andTitleIsNotNull() {
        ew.isNotNull("title");
        return this;
    }

    public PermissionDOCondition orTitleIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("title");
        return this;
    }

    public PermissionDOCondition andTitleEq(Object value) {
        ew.eq("title", value);
        return this;
    }

    public PermissionDOCondition orTitleEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("title", value);
        return this;
    }

    public PermissionDOCondition andTitleNe(Object value) {
        ew.ne("title", value);
        return this;
    }

    public PermissionDOCondition orTitleNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("title", value);
        return this;
    }

    public PermissionDOCondition andTitleGt(Object value) {
        ew.gt("title", value);
        return this;
    }

    public PermissionDOCondition orTitleGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("title", value);
        return this;
    }

    public PermissionDOCondition andTitleGe(Object value) {
        ew.ge("title", value);
        return this;
    }

    public PermissionDOCondition orTitleGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("title", value);
        return this;
    }

    public PermissionDOCondition andTitleLt(Object value) {
        ew.lt("title", value);
        return this;
    }

    public PermissionDOCondition orTitleLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("title", value);
        return this;
    }

    public PermissionDOCondition andTitleLe(Object value) {
        ew.le("title", value);
        return this;
    }

    public PermissionDOCondition orTitleLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("title", value);
        return this;
    }

    public PermissionDOCondition andTitleIn(Object... value) {
        ew.in("title", value);
        return this;
    }

    public PermissionDOCondition orTitleIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("title", value);
        return this;
    }

    public PermissionDOCondition andTitleNotIn(Object... value) {
        ew.notIn("title", value);
        return this;
    }

    public PermissionDOCondition orTitleNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("title", value);
        return this;
    }

    public PermissionDOCondition andTitleBetween(Object value, Object value1) {
        ew.between("title", value, value1);
        return this;
    }

    public PermissionDOCondition orTitleBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("title", value, value1);
        return this;
    }

    public PermissionDOCondition andTitleNotBetween(Object value, Object value1) {
        ew.notBetween("title", value, value1);
        return this;
    }

    public PermissionDOCondition orTitleNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("title", value, value1);
        return this;
    }

    public PermissionDOCondition andTitleLike(String value) {
        ew.like("title", value);
        return this;
    }

    public PermissionDOCondition orTitleLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("title", value);
        return this;
    }

    public PermissionDOCondition andTitleNotLike(String value) {
        ew.notLike("title", value);
        return this;
    }

    public PermissionDOCondition orTitleNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("title", value);
        return this;
    }

    public PermissionDOCondition andDescIsNull() {
        ew.isNull("desc");
        return this;
    }

    public PermissionDOCondition orDescIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("desc");
        return this;
    }

    public PermissionDOCondition andDescIsNotNull() {
        ew.isNotNull("desc");
        return this;
    }

    public PermissionDOCondition orDescIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("desc");
        return this;
    }

    public PermissionDOCondition andDescEq(Object value) {
        ew.eq("desc", value);
        return this;
    }

    public PermissionDOCondition orDescEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("desc", value);
        return this;
    }

    public PermissionDOCondition andDescNe(Object value) {
        ew.ne("desc", value);
        return this;
    }

    public PermissionDOCondition orDescNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("desc", value);
        return this;
    }

    public PermissionDOCondition andDescGt(Object value) {
        ew.gt("desc", value);
        return this;
    }

    public PermissionDOCondition orDescGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("desc", value);
        return this;
    }

    public PermissionDOCondition andDescGe(Object value) {
        ew.ge("desc", value);
        return this;
    }

    public PermissionDOCondition orDescGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("desc", value);
        return this;
    }

    public PermissionDOCondition andDescLt(Object value) {
        ew.lt("desc", value);
        return this;
    }

    public PermissionDOCondition orDescLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("desc", value);
        return this;
    }

    public PermissionDOCondition andDescLe(Object value) {
        ew.le("desc", value);
        return this;
    }

    public PermissionDOCondition orDescLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("desc", value);
        return this;
    }

    public PermissionDOCondition andDescIn(Object... value) {
        ew.in("desc", value);
        return this;
    }

    public PermissionDOCondition orDescIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("desc", value);
        return this;
    }

    public PermissionDOCondition andDescNotIn(Object... value) {
        ew.notIn("desc", value);
        return this;
    }

    public PermissionDOCondition orDescNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("desc", value);
        return this;
    }

    public PermissionDOCondition andDescBetween(Object value, Object value1) {
        ew.between("desc", value, value1);
        return this;
    }

    public PermissionDOCondition orDescBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("desc", value, value1);
        return this;
    }

    public PermissionDOCondition andDescNotBetween(Object value, Object value1) {
        ew.notBetween("desc", value, value1);
        return this;
    }

    public PermissionDOCondition orDescNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("desc", value, value1);
        return this;
    }

    public PermissionDOCondition andDescLike(String value) {
        ew.like("desc", value);
        return this;
    }

    public PermissionDOCondition orDescLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("desc", value);
        return this;
    }

    public PermissionDOCondition andDescNotLike(String value) {
        ew.notLike("desc", value);
        return this;
    }

    public PermissionDOCondition orDescNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("desc", value);
        return this;
    }

    public PermissionDOCondition andPathIsNull() {
        ew.isNull("path");
        return this;
    }

    public PermissionDOCondition orPathIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("path");
        return this;
    }

    public PermissionDOCondition andPathIsNotNull() {
        ew.isNotNull("path");
        return this;
    }

    public PermissionDOCondition orPathIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("path");
        return this;
    }

    public PermissionDOCondition andPathEq(Object value) {
        ew.eq("path", value);
        return this;
    }

    public PermissionDOCondition orPathEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("path", value);
        return this;
    }

    public PermissionDOCondition andPathNe(Object value) {
        ew.ne("path", value);
        return this;
    }

    public PermissionDOCondition orPathNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("path", value);
        return this;
    }

    public PermissionDOCondition andPathGt(Object value) {
        ew.gt("path", value);
        return this;
    }

    public PermissionDOCondition orPathGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("path", value);
        return this;
    }

    public PermissionDOCondition andPathGe(Object value) {
        ew.ge("path", value);
        return this;
    }

    public PermissionDOCondition orPathGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("path", value);
        return this;
    }

    public PermissionDOCondition andPathLt(Object value) {
        ew.lt("path", value);
        return this;
    }

    public PermissionDOCondition orPathLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("path", value);
        return this;
    }

    public PermissionDOCondition andPathLe(Object value) {
        ew.le("path", value);
        return this;
    }

    public PermissionDOCondition orPathLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("path", value);
        return this;
    }

    public PermissionDOCondition andPathIn(Object... value) {
        ew.in("path", value);
        return this;
    }

    public PermissionDOCondition orPathIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("path", value);
        return this;
    }

    public PermissionDOCondition andPathNotIn(Object... value) {
        ew.notIn("path", value);
        return this;
    }

    public PermissionDOCondition orPathNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("path", value);
        return this;
    }

    public PermissionDOCondition andPathBetween(Object value, Object value1) {
        ew.between("path", value, value1);
        return this;
    }

    public PermissionDOCondition orPathBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("path", value, value1);
        return this;
    }

    public PermissionDOCondition andPathNotBetween(Object value, Object value1) {
        ew.notBetween("path", value, value1);
        return this;
    }

    public PermissionDOCondition orPathNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("path", value, value1);
        return this;
    }

    public PermissionDOCondition andPathLike(String value) {
        ew.like("path", value);
        return this;
    }

    public PermissionDOCondition orPathLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("path", value);
        return this;
    }

    public PermissionDOCondition andPathNotLike(String value) {
        ew.notLike("path", value);
        return this;
    }

    public PermissionDOCondition orPathNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("path", value);
        return this;
    }

    public PermissionDOCondition andParentIdIsNull() {
        ew.isNull("parent_id");
        return this;
    }

    public PermissionDOCondition orParentIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("parent_id");
        return this;
    }

    public PermissionDOCondition andParentIdIsNotNull() {
        ew.isNotNull("parent_id");
        return this;
    }

    public PermissionDOCondition orParentIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("parent_id");
        return this;
    }

    public PermissionDOCondition andParentIdEq(Object value) {
        ew.eq("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdNe(Object value) {
        ew.ne("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdGt(Object value) {
        ew.gt("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdGe(Object value) {
        ew.ge("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdLt(Object value) {
        ew.lt("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdLe(Object value) {
        ew.le("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdIn(Object... value) {
        ew.in("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdNotIn(Object... value) {
        ew.notIn("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdBetween(Object value, Object value1) {
        ew.between("parent_id", value, value1);
        return this;
    }

    public PermissionDOCondition orParentIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("parent_id", value, value1);
        return this;
    }

    public PermissionDOCondition andParentIdNotBetween(Object value, Object value1) {
        ew.notBetween("parent_id", value, value1);
        return this;
    }

    public PermissionDOCondition orParentIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("parent_id", value, value1);
        return this;
    }

    public PermissionDOCondition andParentIdLike(String value) {
        ew.like("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("parent_id", value);
        return this;
    }

    public PermissionDOCondition andParentIdNotLike(String value) {
        ew.notLike("parent_id", value);
        return this;
    }

    public PermissionDOCondition orParentIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("parent_id", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateIsNull() {
        ew.isNull("gmt_create");
        return this;
    }

    public PermissionDOCondition orGmtCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_create");
        return this;
    }

    public PermissionDOCondition andGmtCreateIsNotNull() {
        ew.isNotNull("gmt_create");
        return this;
    }

    public PermissionDOCondition orGmtCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_create");
        return this;
    }

    public PermissionDOCondition andGmtCreateEq(Object value) {
        ew.eq("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateNe(Object value) {
        ew.ne("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateGt(Object value) {
        ew.gt("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateGe(Object value) {
        ew.ge("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateLt(Object value) {
        ew.lt("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateLe(Object value) {
        ew.le("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateIn(Object... value) {
        ew.in("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateNotIn(Object... value) {
        ew.notIn("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateBetween(Object value, Object value1) {
        ew.between("gmt_create", value, value1);
        return this;
    }

    public PermissionDOCondition orGmtCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_create", value, value1);
        return this;
    }

    public PermissionDOCondition andGmtCreateNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public PermissionDOCondition orGmtCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public PermissionDOCondition andGmtCreateLike(String value) {
        ew.like("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtCreateNotLike(String value) {
        ew.notLike("gmt_create", value);
        return this;
    }

    public PermissionDOCondition orGmtCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_create", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedIsNull() {
        ew.isNull("gmt_modified");
        return this;
    }

    public PermissionDOCondition orGmtModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_modified");
        return this;
    }

    public PermissionDOCondition andGmtModifiedIsNotNull() {
        ew.isNotNull("gmt_modified");
        return this;
    }

    public PermissionDOCondition orGmtModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_modified");
        return this;
    }

    public PermissionDOCondition andGmtModifiedEq(Object value) {
        ew.eq("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedNe(Object value) {
        ew.ne("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedGt(Object value) {
        ew.gt("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedGe(Object value) {
        ew.ge("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedLt(Object value) {
        ew.lt("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedLe(Object value) {
        ew.le("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedIn(Object... value) {
        ew.in("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedNotIn(Object... value) {
        ew.notIn("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedBetween(Object value, Object value1) {
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public PermissionDOCondition orGmtModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public PermissionDOCondition andGmtModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public PermissionDOCondition orGmtModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public PermissionDOCondition andGmtModifiedLike(String value) {
        ew.like("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andGmtModifiedNotLike(String value) {
        ew.notLike("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition orGmtModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_modified", value);
        return this;
    }

    public PermissionDOCondition andUserCreateIsNull() {
        ew.isNull("user_create");
        return this;
    }

    public PermissionDOCondition orUserCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_create");
        return this;
    }

    public PermissionDOCondition andUserCreateIsNotNull() {
        ew.isNotNull("user_create");
        return this;
    }

    public PermissionDOCondition orUserCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_create");
        return this;
    }

    public PermissionDOCondition andUserCreateEq(Object value) {
        ew.eq("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateNe(Object value) {
        ew.ne("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateGt(Object value) {
        ew.gt("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateGe(Object value) {
        ew.ge("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateLt(Object value) {
        ew.lt("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateLe(Object value) {
        ew.le("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateIn(Object... value) {
        ew.in("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateNotIn(Object... value) {
        ew.notIn("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateBetween(Object value, Object value1) {
        ew.between("user_create", value, value1);
        return this;
    }

    public PermissionDOCondition orUserCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_create", value, value1);
        return this;
    }

    public PermissionDOCondition andUserCreateNotBetween(Object value, Object value1) {
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public PermissionDOCondition orUserCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public PermissionDOCondition andUserCreateLike(String value) {
        ew.like("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserCreateNotLike(String value) {
        ew.notLike("user_create", value);
        return this;
    }

    public PermissionDOCondition orUserCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_create", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedIsNull() {
        ew.isNull("user_modified");
        return this;
    }

    public PermissionDOCondition orUserModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_modified");
        return this;
    }

    public PermissionDOCondition andUserModifiedIsNotNull() {
        ew.isNotNull("user_modified");
        return this;
    }

    public PermissionDOCondition orUserModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_modified");
        return this;
    }

    public PermissionDOCondition andUserModifiedEq(Object value) {
        ew.eq("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedNe(Object value) {
        ew.ne("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedGt(Object value) {
        ew.gt("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedGe(Object value) {
        ew.ge("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedLt(Object value) {
        ew.lt("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedLe(Object value) {
        ew.le("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedIn(Object... value) {
        ew.in("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedNotIn(Object... value) {
        ew.notIn("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedBetween(Object value, Object value1) {
        ew.between("user_modified", value, value1);
        return this;
    }

    public PermissionDOCondition orUserModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_modified", value, value1);
        return this;
    }

    public PermissionDOCondition andUserModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public PermissionDOCondition orUserModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public PermissionDOCondition andUserModifiedLike(String value) {
        ew.like("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_modified", value);
        return this;
    }

    public PermissionDOCondition andUserModifiedNotLike(String value) {
        ew.notLike("user_modified", value);
        return this;
    }

    public PermissionDOCondition orUserModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_modified", value);
        return this;
    }
}